import pytest

from utils.caseread import get_yaml_cases
from utils.httptool import send_request


@pytest.fixture(scope='session', autouse=True)
def system_login():
    login_list = get_yaml_cases('system.yaml')
    send_request(login_list[0])
